Pattern Digitizing